
exports.defaults = () => ({
    // project deployment base
    publicPath: '/',
    // for compatibility concern. TODO: remove in v4.
    baseUrl: '/',
  
    // where to output built files
    outputDir: 'dist',
  
    // where to put static assets (js/css/img/font/...)
    assetsDir: '',
  
    // filename for index.html (relative to outputDir)
    indexPath: 'index.html',
  
    // whether filename will contain hash part
    filenameHashing: true,
  
    // boolean, use full build?
    runtimeCompiler: false,
  
    // deps to transpile
    transpileDependencies: [
      /* string or regex */
    ],
  
    // sourceMap for production build?
    productionSourceMap: !process.env.VUE_CLI_TEST,
  
    // use thread-loader for babel & TS in production build
    // enabled by default if the machine has more than 1 cores
    parallel: hasMultipleCores(),
  
    // multi-page config
    pages: undefined,
  
    // <script type="module" crossorigin="use-credentials">
    // #1656, #1867, #2025
    crossorigin: undefined,
  
    // subresource integrity
    integrity: false,
  
    css: {
      // extract: true,
      // modules: false,
      // localIdentName: '[name]_[local]_[hash:base64:5]',
      // sourceMap: false,
      // loaderOptions: {}
    },
  
    // whether to use eslint-loader
    lintOnSave: true,
  
    devServer: {
      /*
      open: process.platform === 'darwin',
      host: '0.0.0.0',
      port: 8080,
      https: false,
      hotOnly: false,
      proxy: null, // string | Object
      before: app => {}
    */
    }
  })
  